package com.lifeng.disconf.service;

import com.lifeng.disconf.MySet;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by lifeng on 2018/6/21.
 */
@Service
public class DemoService {
    @Autowired
    private MySet mySet;

    public void changeCfg(){
        System.out.println("myset 配置改变了 "+mySet.getMyname());
    }
}
